package com.zero.mongo.transaction.entity;


import org.bson.types.ObjectId;

import java.io.Serializable;

public class Member implements Serializable{

	private ObjectId id;
	private String name;
	private int age;
	private String addr;

	public Member(){}

	public ObjectId getId() {
		return id;
	}

	public void setId(ObjectId id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}
}

